/*
 * UsuarioBusinessDelegate.java
 *
 * Created on 19 de Junho de 2007, 12:45
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.com.esp.agendafinanceira.delegate;

import br.com.esp.agendafinanceira.exception.I18NException;
import br.com.esp.agendafinanceira.form.LoginForm;
import br.com.esp.agendafinanceira.form.UsuarioForm;
import java.io.Serializable;

/**
 *
 * @author David
 */
public interface UsuarioBusinessDelegate extends GenericBusinessDelegate {
   
    /**
     * Fazer login.
     */
    UsuarioForm doLogin(final LoginForm login) throws I18NException;
    
    /**
     *  
     */
    UsuarioForm findUsuarioById(final Serializable id) throws I18NException;
    
    /**
     *
     */
    UsuarioForm create(final UsuarioForm userForm) throws I18NException;
    
}
